<div class="aside">
<div class="profile">
  <img class="avatar" src="/uploads/avatar.jpg">
  <h3 class="name">黑猫</h3>
</div>
<ul class="nav">
  <li id="index">
    <a href="/admin/index" id="index"><i class="fa fa-dashboard"></i>仪表盘</a>
  </li>
  <li id="target-posts">
    <a href="#menu-posts" data-toggle="collapse" class="collapsed">
      <i class="fa fa-thumb-tack"></i>文章<i class="fa fa-angle-right"></i>
    </a>
    <ul id="menu-posts" class="collapse in">
      <li id="posts"><a href="/admin/posts">所有文章</a></li>
      <li id="post-add"><a href="/admin/post-add">写文章</a></li>
      <li id="categories"><a href="categories">分类目录</a></li>
    </ul>
  </li>
  <li id="comments">
    <a href="/admin/comments"><i class="fa fa-comments"></i>评论</a>
  </li>
  <li id="users">
    <a href="/admin/users"><i class="fa fa-users"></i>用户</a>
  </li>
  <li>
    <a href="#menu-settings" id="target-settings" aria-expanded="false" class="collapsed" data-toggle="collapse">
      <i class="fa fa-cogs"></i>设置<i class="fa fa-angle-right"></i>
    </a>
    <ul id="menu-settings" class="collapse">
      <li id="slides"><a href="/admin/slides">图片轮播</a></li>
      <li id="settings"><a href="/admin/settings">网站设置</a></li>
    </ul>
  </li>
</ul>
</div>